<template>
    <div>
        <Title text="商品列表"/>
        <A/>
    </div>
</template>

<script>
import Title from '@/components/Title.vue'
import A from '@/components/A.vue'
export default {
    components: {
        Title,
        A
    },
    mounted() {
        // 订阅消息
        this.$bus.$on('toHome', (res) => {
            console.log(res, '---')
        })

    },
}
</script>